<div class="precios form">
<?php echo $this->Form->create('Precio');?>
	<fieldset>
	 		<legend><?php __('Editar Precio'); ?></legend>
	<?php
		echo $this->Form->input('id');
		
	    echo $form->input('servicio_id', array('empty' => 'Seleccione'));
        echo $this->Ajax->observeField('PrecioServicioId',
											    array('url' => array( 'action' => 'cargar_entregables'),
											          'update'=> 'cargar_entregables_id')
									 );

	    echo $html->_div('cargar_entregables_id');
	    echo $form->input('entregable_id', array('type' => 'select', 'empty' => 'Seleccione', 'disabled' => 'disabled'));
	    echo $html->_endDiv();
		
		//echo $this->Form->input('servicio_id');
		//echo $this->Form->input('entregable_id');
		echo $this->Form->input('fl_actualiza', array('label'=>'Fecha de Actualizacion'));
		echo $this->Form->input('precio');

	?>
	</fieldset>

	<?php echo $this->Form->submit(__('Editar', true), array('div'=>false, 'name'=>'submit'));?>
<?php echo $this->Form->submit('Cancelar', array('div'=>false, 'name'=>'cancelar')); ?>
<?php echo $this->Form->end();?>

<br>
</div>
<div class="actions">
	<h3><?php __('Acciones'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Borrar', true), array('action' => 'delete', $this->Form->value('Precio.id')), null, sprintf(__('Esta seguro de borrar a %s?', true), $this->Form->value('Precio.id'))); ?></li>
		<li><?php echo $this->Html->link(__('Lista de Precios', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Lista de Servicios', true), array('controller' => 'servicios', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Agregar Servicio', true), array('controller' => 'servicios', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Lista de Entregables', true), array('controller' => 'entregables', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Agregar Entregable', true), array('controller' => 'entregables', 'action' => 'add')); ?> </li>
	</ul>
</div>